package com.cdyx.outsideprescription.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cdyx.outsideprescription.dto.Icd_10Dto;
import com.cdyx.outsideprescription.dto.YPxxDto;
import com.cdyx.outsideprescription.entity.TbDicCf;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jiang dongqiong
 * @since 2021-12-17
 */
public interface ITbDicCfService extends IService<TbDicCf> {

    IPage<Icd_10Dto> getIcd10(Page<Icd_10Dto> page, @Param("ew") QueryWrapper<Icd_10Dto> queryWrapper);

    IPage<YPxxDto> selectYPxx(Page<YPxxDto> page, QueryWrapper<YPxxDto> queryWrapper,  String type);

    List<Map<String, Object>> getYPbz();

    List<Map<String, Object>> getCfBZ();

    List<Map<String, String>> getYYtj();

    List<Map<String, String>> getypYC();

    List<Map<String, String>> getZcyxx();
}
